package PTA2.ti54;
import java.util.Scanner;


/**
 * @author Lenovo
 */

public class Main{
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int target = scanner.nextInt();
        scanner.nextLine();

        String[] numbers = scanner.nextLine().split(" ");
        int count = 0;

        for (String numStr : numbers) {
            int num = Integer.parseInt(numStr);
            if (num > target) {
                count++;
            }
        }

        System.out.println(count);
        scanner.close();
    }
}
